

package com.hazelcast.map.impl.record;

import com.hazelcast.internal.util.ConstructorFunction;

/**
 * A set of attributes to pass to the {@link ConstructorFunction} that it needs
 * or may need to use for creating the {@link RecordFactory}.
 */
@FunctionalInterface
public interface RecordFactoryAttributes {
    /**
     * Returns the id of the partition on which the given record is to be created.
     *
     * @return the partition id
     */
    int getPartitionId();
}
